﻿/* Project: LINQtoLDAPDemo_Winform
 * Purpose: To demonstrate adding and removing memberships of users to and from groups
 * 
 * Requirements:
 * - AD LDS (http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=14683)
 * - An LDAP partition (http://community.bartdesmet.net/blogs/bart/archive/2010/07/12/getting-started-with-active-directory-lightweight-directory-services.aspx)
 * - Northwind database (http://northwinddatabase.codeplex.com/)
 * - Run LINQtoLDAPDemo_Setup project to set up test data
 * 
 * Reminders:
 * Update the app.config with:
 *  - Your computer name
 *  - The LDAP partition name
 *  - The database connection string to the Northwind database
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace LINQtoLDAPDemo_Winform
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Models.NorthwindDAO dao = new Models.NorthwindDAO();
            Views.frmGroupMembers mainView = new Views.frmGroupMembers(dao);

            Application.Run(mainView);
        }
    }
}
